package com.zzuli.ylsystem.dao;

import com.zzuli.ylsystem.entity.Fabu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface FabuDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Fabu record);

    int insertSelective(Fabu record);

    Fabu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Fabu record);

    int updateByPrimaryKey(Fabu record);

    @Select("select * from fabu")
    List<Fabu> selectAllFabu();
}